/*
 * @Author: 代勇 1031850847@qq.com
 * @Date: 2023-10-30 10:17:39
 * @LastEditors: daiyong 1031850847@qq.com
 * @LastEditTime: 2024-10-30 10:55:57
 * @Description: 导航数据
 */

import { Home, Agreement, User } from "@icon-park/vue-next";

// 导航数据
const nav = [
    {
        title: "常用操作",
        children: [
            {
                title: "主页",
                icon: markRaw(Home),
                path: "/",
            },
            {
                title: "用户",
                icon: markRaw(User),
                path: '/user/list',
                power: '/user/list',
            },
            {
                title: "文章",
                icon: markRaw(Agreement),
                path: '/article/list',
                power: '/article/list',
            },
        ],
    },
    {
        title: "权限",
        children: [
            {
                title: "管理员",
                icon: markRaw(User),
                path: "/admin/list",
                power: "/admin/list",
                pathChild: ["/admin/edit"],
            },
        ],
    },
]
export default nav
